import Vue from 'vue'
import App from './App.vue'

import router from './router.js'
import vuexStore from './store'
import http from './assets/js/http.js'
import wx from 'weixin-js-sdk'

import localData from './assets/js/util.js'
import service from './assets/js/service.js'

import { Swipe, SwipeItem, Popup } from 'mint-ui'
import vuetify from './plugins/vuetify'
require('./static/cfg')
// 首页banner
Vue.component(Swipe.name, Swipe)
Vue.component(Popup.name, Popup)
Vue.component(SwipeItem.name, SwipeItem)

Vue.prototype.localData = localData
Vue.prototype.Service = service

Vue.prototype.http = http
Vue.prototype.wx = wx

new Vue({
  router: router,
  store: vuexStore,
  vuetify,
  render: h => h(App)
}).$mount('#app')
